<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>jt_toolkit: JtEntityFactory Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">jt_toolkit
   &#160;<span id="projectnumber">0.1dev</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="class_jt_entity_factory-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">JtEntityFactory Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>A static factory class used to create all toolkit objects. Client applications should use this class to create all JtEntity-derived objects instead of C++'s new command.  
 <a href="class_jt_entity_factory.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_jt_entity_factory_8h_source.html">JtEntityFactory.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a9f38a682d7d7667e3e3fd4eccf64bb24"><td class="memItemLeft" align="right" valign="top"><a id="a9f38a682d7d7667e3e3fd4eccf64bb24"></a>
static std::shared_ptr&lt; <a class="el" href="class_jt_c_a_d_importer.html">JtCADImporter</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_jt_entity_factory.html#a9f38a682d7d7667e3e3fd4eccf64bb24">createCADImporter</a> ()</td></tr>
<tr class="memdesc:a9f38a682d7d7667e3e3fd4eccf64bb24"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a new <a class="el" href="class_jt_c_a_d_importer.html" title="Load JT format file to return a root node.">JtCADImporter</a> object. <br /></td></tr>
<tr class="separator:a9f38a682d7d7667e3e3fd4eccf64bb24"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7b0b23172ef3880b53f6b562b00370ee"><td class="memItemLeft" align="right" valign="top"><a id="a7b0b23172ef3880b53f6b562b00370ee"></a>
static std::shared_ptr&lt; <a class="el" href="class_jt_c_a_d_exporter.html">JtCADExporter</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_jt_entity_factory.html#a7b0b23172ef3880b53f6b562b00370ee">createCADExporter</a> ()</td></tr>
<tr class="memdesc:a7b0b23172ef3880b53f6b562b00370ee"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a new <a class="el" href="class_jt_c_a_d_exporter.html" title="Save the root node to a JT format file.">JtCADExporter</a> object. <br /></td></tr>
<tr class="separator:a7b0b23172ef3880b53f6b562b00370ee"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a93a474eb174b39008b1ce2f4a79b334f"><td class="memItemLeft" align="right" valign="top"><a id="a93a474eb174b39008b1ce2f4a79b334f"></a>
static std::shared_ptr&lt; <a class="el" href="class_jt_assembly.html">JtAssembly</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>createAssembly</b> ()</td></tr>
<tr class="separator:a93a474eb174b39008b1ce2f4a79b334f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8e5685c5b0516e5a688807589e2a0cc2"><td class="memItemLeft" align="right" valign="top"><a id="a8e5685c5b0516e5a688807589e2a0cc2"></a>
static std::shared_ptr&lt; <a class="el" href="class_jt_part.html">JtPart</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>createPart</b> ()</td></tr>
<tr class="separator:a8e5685c5b0516e5a688807589e2a0cc2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7c7f1b8e733c1fa2891207514b14564e"><td class="memItemLeft" align="right" valign="top"><a id="a7c7f1b8e733c1fa2891207514b14564e"></a>
static std::shared_ptr&lt; <a class="el" href="class_jt_instance.html">JtInstance</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>createInstance</b> (std::shared_ptr&lt; <a class="el" href="class_jt_hierarchy.html">JtHierarchy</a> &gt; refOrig)</td></tr>
<tr class="separator:a7c7f1b8e733c1fa2891207514b14564e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adfb525c8e853827aefc7cd4d241ec89c"><td class="memItemLeft" align="right" valign="top"><a id="adfb525c8e853827aefc7cd4d241ec89c"></a>
static std::shared_ptr&lt; <a class="el" href="class_jt_material.html">JtMaterial</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>createMaterial</b> ()</td></tr>
<tr class="separator:adfb525c8e853827aefc7cd4d241ec89c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa84ba9b5c73143ff4b2a2417ea2af495"><td class="memItemLeft" align="right" valign="top"><a id="aa84ba9b5c73143ff4b2a2417ea2af495"></a>
static std::shared_ptr&lt; <a class="el" href="class_jt_transform.html">JtTransform</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>createTransform</b> ()</td></tr>
<tr class="separator:aa84ba9b5c73143ff4b2a2417ea2af495"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae2d9aa6bd8ede2b508df2946225abc4c"><td class="memItemLeft" align="right" valign="top"><a id="ae2d9aa6bd8ede2b508df2946225abc4c"></a>
static std::shared_ptr&lt; <a class="el" href="class_jt_property.html">JtProperty</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>createProperty</b> (const std::wstring &amp;keyString, const std::wstring &amp;value)</td></tr>
<tr class="separator:ae2d9aa6bd8ede2b508df2946225abc4c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9077615c187c2d010750baedb01dc033"><td class="memItemLeft" align="right" valign="top"><a id="a9077615c187c2d010750baedb01dc033"></a>
static std::shared_ptr&lt; <a class="el" href="class_jt_property.html">JtProperty</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>createProperty</b> (const std::wstring &amp;keyString, const int value)</td></tr>
<tr class="separator:a9077615c187c2d010750baedb01dc033"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5296adb6053b253079ae93323c26d864"><td class="memItemLeft" align="right" valign="top"><a id="a5296adb6053b253079ae93323c26d864"></a>
static std::shared_ptr&lt; <a class="el" href="class_jt_property.html">JtProperty</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>createProperty</b> (const std::wstring &amp;keyString, const float value)</td></tr>
<tr class="separator:a5296adb6053b253079ae93323c26d864"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a085b0ae2145721da84c7e80a9e430884"><td class="memItemLeft" align="right" valign="top"><a id="a085b0ae2145721da84c7e80a9e430884"></a>
static std::shared_ptr&lt; <a class="el" href="class_jt_property.html">JtProperty</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>createProperty</b> (const std::wstring &amp;keyString, const short year, const short month, const short day, const short hour, const short minutes, const short seconds)</td></tr>
<tr class="separator:a085b0ae2145721da84c7e80a9e430884"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1cbb12ddffe15feda328b54462c64431"><td class="memItemLeft" align="right" valign="top"><a id="a1cbb12ddffe15feda328b54462c64431"></a>
static std::shared_ptr&lt; <a class="el" href="class_jt_shape.html">JtShape</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>createShape</b> ()</td></tr>
<tr class="separator:a1cbb12ddffe15feda328b54462c64431"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a306c3b0179dbf65bcea32d4523eb6980"><td class="memItemLeft" align="right" valign="top"><a id="a306c3b0179dbf65bcea32d4523eb6980"></a>
static std::shared_ptr&lt; <a class="el" href="class_jt_tri_strip_set.html">JtTriStripSet</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>createTriStripSet</b> ()</td></tr>
<tr class="separator:a306c3b0179dbf65bcea32d4523eb6980"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>A static factory class used to create all toolkit objects. Client applications should use this class to create all JtEntity-derived objects instead of C++'s new command. </p>
</div><hr/>The documentation for this class was generated from the following file:<ul>
<li>include/<a class="el" href="_jt_entity_factory_8h_source.html">JtEntityFactory.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1
</small></address>
</body>
</html>
